package com.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigInteger;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author 杨森
 * @since 2022-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MovieScore implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评分id
     */
    @TableId(value = "score_id", type = IdType.AUTO)
    private Integer scoreId;

    /**
     * 电影id
     */
    @TableField("product_Id")
    private Integer productId;

    /**
     * 订单id
     */
    private BigInteger orderId;

    /**
     * 票务id
     */
    private Integer ticketingId;

    /**
     * 评分
     */
    private Integer score;

    /**
     * 逻辑删除 0正常 1删除
     */
    @TableField("Is_Deleted")
    private Integer isDeleted;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 版本号
     */
    private Integer version;


}
